<%-- 
    Document   : CadastroProfessor
    Created on : 01/11/2011, 22:05:58
    Author     : Filipe
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Halloc - Atualização de Professor</title>
        <style type="text/css">
            div#back {
                background-color: lightsteelblue;
                height: 200px;
                width: 800px;
                margin-top: 20px;
                margin-left: 230px;
                margin-right: 230px;
            }
            div#form {
                background-color: #DDD;
                font: 14px Verdana, sans-serif;
                height: 150px;
                margin-top: 5px;
                border: 0px solid #696969;
                margin-left: 150px;
                margin-right: 150px;
            }

            div#campos, div#form {
                color: #333;
                height: 100px;
            }

            div#campos, div#tab_inputs tr{                
                font: 16px Verdana, sans-serif;
                color: #369;
                font-weight: bolder;                
            }

            select {
                font: 16px Verdana, sans-serif;
                color: #369;
                font-weight: bolder;
            }

            #campos select {
                width:400px;
                height: 30px;
                opacity:1;
                filter:alpha(opacity=0);
                margin-left: 100px;
            }

            .icod, .icarga, .icred {
                width: 100px;
                height: 20px;
                font: 16px Verdana, sans-serif;
                color: #333;
                font-weight: bolder;
            }

            .inome {
                width: 350px;
                height: 20px;
                font: 16px Verdana, sans-serif;
                color: #333;
                font-weight: bolder;
            }

        </style>
    <body>
        <jsp:include page="menubarra.jsp"></jsp:include>
          
        <div id="back" align="center">
            <h3 align="center">Atualizacao de Professor</h3>  

            <div id="form" align="center">


                <h3>${mensagem}</h3>

                <form method="post" action="AtualizarProfessor">
                    <div id="campos">
                        <table id="tab_inputs">

                            <tr>                <input type="hidden" name="matricula_professor" value="${professor.matricula}"></input>
                            <td>Matricula:</td>
                            <td >${professor.matricula}</td>
                            </tr>
                            <tr>
                                <td>Nome:</td>
                                <td><input name="nome_professor" type="text" value="${professor.nome}" size="40" maxlength="200">
                                    </input></td>
                            </tr>
                            <tr>
                                <td>Telefone:</td>
                                <td><input type="text" name="telefone_professor" value="${professor.telefone}"</td>
                            </tr>

                        </table> 
                    </div>
                    </div>  
                    <center>
                        <td colspan="2" align="center"><input type="submit" value="Atualizar"></input></td>                       
                    </center>    
                </form> 
            
        </div>  


    </body>
</html>
